var cover = {};

cover.getHeight = function () {
    var height = $(document).height();
    window.parent.index.iframeResize(height);
}

cover.submit = function () {
	$('#submit_button').click(function(){
		
		window.location = "order_success.html";
	});
}

cover.init = function() {
	cover.getHeight();
	cover.submit();
}

$(document).ready(function() {
	cover.init();
});